"use strict";
cc._RF.push(module, '98a2bnezGlAUaNQa+ZVf0vH', 'gameOver');
// script/cow_project/gameOver.js

"use strict";

// Learn cc.Class:
//  - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
  "extends": cc.Component,
  properties: {},
  // LIFE-CYCLE CALLBACKS:
  onLoad: function onLoad() {},
  start: function start() {},
  // update (dt) {},
  closeClick: function closeClick(event, customEventData) {
    cc.log("关闭游戏"); // this.onDestroy.onDestroy();

    cc.director.resume();
    cc.director.loadScene("game");
    this.node.destroy();
  }
});

cc._RF.pop();